package com.ruoyi.task.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 任务管理对象 task_management
 * 
 * @author ruoyi
 * @date 2025-05-17
 */
public class TaskManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 任务标题 */
    @Excel(name = "任务标题")
    private String taskTitle;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 浏览人数 */
    @Excel(name = "浏览人数")
    private Long visitors;

    /** 参与人数 */
    @Excel(name = "参与人数")
    private Long participants;

    /** 富文本任务要求 */
    @Excel(name = "富文本任务要求")
    private String content;

    /** 任务赏金 */
    @Excel(name = "任务赏金")
    private BigDecimal reward;

    private Long userId;

    private Long satisFaction;

    private String type;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSatisFaction() {
        return satisFaction;
    }

    public void setSatisFaction(Long satisFaction) {
        this.satisFaction = satisFaction;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTaskTitle(String taskTitle) 
    {
        this.taskTitle = taskTitle;
    }

    public String getTaskTitle() 
    {
        return taskTitle;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setVisitors(Long visitors) 
    {
        this.visitors = visitors;
    }

    public Long getVisitors() 
    {
        return visitors;
    }

    public void setParticipants(Long participants) 
    {
        this.participants = participants;
    }

    public Long getParticipants() 
    {
        return participants;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setReward(BigDecimal reward) 
    {
        this.reward = reward;
    }

    public BigDecimal getReward() 
    {
        return reward;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskTitle", getTaskTitle())
            .append("createTime", getCreateTime())
            .append("endTime", getEndTime())
            .append("visitors", getVisitors())
            .append("participants", getParticipants())
            .append("content", getContent())
            .append("reward", getReward())
            .toString();
    }
}
